package com.wn.icloud.provider.uac.service.impl;

import com.wn.icloud.provider.uac.entity.GroupType;
import com.wn.icloud.provider.uac.mapper.GroupTypeMapper;
import com.wn.icloud.provider.uac.service.GroupTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GroupTypeServiceImpl implements GroupTypeService {

    @Autowired
    private GroupTypeMapper groupTypeMapper;

    @Override
    public Integer getOrgInfoType() {
        GroupType groupType = groupTypeMapper.selectByCode("organization");
        return groupType.getId();
    }
}
